// eslint-disable-next-line import/prefer-default-export
export const DagData = {
  cells: [
    {
      shape: 'edge',
      attrs: {
        line: {
          stroke: '#2CFEFF',
          strokeWidth: 1,
          targetMarker: { name: 'classic', size: 8 },
        },
      },
      id: '9ada2ceb-0f6f-4fad-a1e4-5bfa0e894b57',
      connector: { name: 'curve' },
      defaultLabel: {
        markup: [
          { tagName: 'rect', selector: 'body' },
          { tagName: 'text', selector: 'label' },
        ],
        attrs: {
          label: {
            fontSize: 14,
            textAnchor: 'middle',
            textVerticalAnchor: 'middle',
            pointerEvents: 'none',
            fill: '#2CFEFF',
          },
        },
        position: { distance: 0.5 },
      },
      router: { name: 'manhattan' },
      zIndex: 0,
      source: {
        cell: '15b7dca9-a5af-46db-89b6-1d390d233f82',
        port: 'a1544921-c4b9-42da-85f1-c2ba5e462412',
      },
      target: {
        cell: '147c048b-ac3a-40b0-993d-b68b257bcb08',
        port: '1b094248-f131-4dfe-9069-22a4d4c08324',
      },
    },
    {
      shape: 'edge',
      attrs: {
        line: {
          stroke: '#2CFEFF',
          strokeWidth: 1,
          targetMarker: { name: 'classic', size: 8 },
        },
      },
      id: 'e07dc342-5204-438a-8362-ded2cb84ccdf',
      connector: { name: 'curve' },
      defaultLabel: {
        markup: [
          { tagName: 'rect', selector: 'body' },
          { tagName: 'text', selector: 'label' },
        ],
        attrs: {
          label: {
            fontSize: 14,
            textAnchor: 'middle',
            textVerticalAnchor: 'middle',
            pointerEvents: 'none',
            fill: '#2CFEFF',
          },
        },
        position: { distance: 0.5 },
      },
      router: { name: 'manhattan' },
      zIndex: 0,
      source: {
        cell: '15b7dca9-a5af-46db-89b6-1d390d233f82',
        port: 'a1544921-c4b9-42da-85f1-c2ba5e462412',
      },
      target: {
        cell: '6dfab742-35c4-4437-830b-a6ff67ce71d9',
        port: 'a95af442-50e7-4c6d-adea-fc43f12ce5fd',
      },
    },
    {
      shape: 'edge',
      attrs: {
        line: {
          stroke: '#2CFEFF',
          strokeWidth: 1,
          targetMarker: { name: 'classic', size: 8 },
        },
      },
      id: 'fe7c1539-6dec-49a9-a231-da2e8472db95',
      connector: { name: 'curve' },
      defaultLabel: {
        markup: [
          { tagName: 'rect', selector: 'body' },
          { tagName: 'text', selector: 'label' },
        ],
        attrs: {
          label: {
            fontSize: 14,
            textAnchor: 'middle',
            textVerticalAnchor: 'middle',
            pointerEvents: 'none',
            fill: '#2CFEFF',
          },
        },
        position: { distance: 0.5 },
      },
      router: { name: 'manhattan' },
      zIndex: 0,
      source: {
        cell: '147c048b-ac3a-40b0-993d-b68b257bcb08',
        port: '003848ad-c39a-4732-94a0-8ce2cffd6b94',
      },
      target: {
        cell: '02244ad4-c052-47be-8273-f0394474a6d0',
        port: 'eed56e51-63ee-4a47-82e0-e6638e970a2b',
      },
    },
    {
      shape: 'edge',
      attrs: {
        line: {
          stroke: '#2CFEFF',
          strokeWidth: 1,
          targetMarker: { name: 'classic', size: 8 },
        },
      },
      id: '0723be59-8557-417b-b0b7-0b6aec7e110b',
      connector: { name: 'curve' },
      defaultLabel: {
        markup: [
          { tagName: 'rect', selector: 'body' },
          { tagName: 'text', selector: 'label' },
        ],
        attrs: {
          label: {
            fontSize: 14,
            textAnchor: 'middle',
            textVerticalAnchor: 'middle',
            pointerEvents: 'none',
            fill: '#2CFEFF',
          },
        },
        position: { distance: 0.5 },
      },
      router: { name: 'manhattan' },
      zIndex: 0,
      source: {
        cell: '02244ad4-c052-47be-8273-f0394474a6d0',
        port: '185d33a2-90a7-401a-9c0b-df9049c5618d',
      },
      target: {
        cell: '99207ce4-e42f-4200-84fe-d42000499af1',
        port: 'aec78cd4-e398-4dbb-8b25-7b4bd2d3dae3',
      },
      labels: ['是'],
    },
    {
      shape: 'edge',
      attrs: {
        line: {
          stroke: '#2CFEFF',
          strokeWidth: 1,
          targetMarker: { name: 'classic', size: 8 },
        },
      },
      id: '36594cf2-526d-4cc1-987f-41ed060d4821',
      connector: { name: 'curve' },
      defaultLabel: {
        markup: [
          { tagName: 'rect', selector: 'body' },
          { tagName: 'text', selector: 'label' },
        ],
        attrs: {
          label: {
            fontSize: 14,
            textAnchor: 'middle',
            textVerticalAnchor: 'middle',
            pointerEvents: 'none',
            fill: '#2CFEFF',
          },
        },
        position: { distance: 0.5 },
      },
      router: { name: 'manhattan' },
      zIndex: 0,
      source: {
        cell: '02244ad4-c052-47be-8273-f0394474a6d0',
        port: '0f9291d8-9bbf-4d0d-896a-098e26554585',
      },
      target: {
        cell: '015ae024-2953-4def-92bd-fed212a0322f',
        port: 'cbe865dd-6a22-4bbc-aa6e-ba9340f45759',
      },
      labels: ['否'],
    },
    {
      position: { x: 90, y: 370 },
      size: { width: 82, height: 40 },
      shape: 'start',
      ports: {
        groups: {
          in: {
            position: 'left',
            attrs: {
              circle: {
                r: 4,
                magnet: 'passive',
                fill: '#2cfeff',
                fillOpacity: '0.15',
                stroke: '#2cfeff',
                strokeOpacity: '0.6',
                strokeWidth: 1,
                style: { visibility: 'visible' },
              },
            },
          },
          out: {
            position: 'right',
            attrs: {
              circle: {
                r: 4,
                magnet: true,
                fill: '#2cfeff',
                fillOpacity: '0.15',
                stroke: '#2cfeff',
                strokeOpacity: '0.6',
                strokeWidth: 1,
                style: { visibility: 'visible' },
              },
            },
          },
        },
        items: [{ group: 'out', id: 'a1544921-c4b9-42da-85f1-c2ba5e462412' }],
      },
      id: '15b7dca9-a5af-46db-89b6-1d390d233f82',
      zIndex: 1,
    },
    {
      position: { x: 320, y: 340 },
      size: { width: 116, height: 40 },
      shape: 'pipeline',
      ports: {
        groups: {
          in: {
            position: 'left',
            attrs: {
              circle: {
                r: 4,
                magnet: 'passive',
                fill: '#2cfeff',
                fillOpacity: '0.15',
                stroke: '#2cfeff',
                strokeOpacity: '0.6',
                strokeWidth: 1,
                style: { visibility: 'visible' },
              },
            },
          },
          out: {
            position: 'right',
            attrs: {
              circle: {
                r: 4,
                magnet: true,
                fill: '#2cfeff',
                fillOpacity: '0.15',
                stroke: '#2cfeff',
                strokeOpacity: '0.6',
                strokeWidth: 1,
                style: { visibility: 'visible' },
              },
            },
          },
        },
        items: [
          { group: 'in', id: '1b094248-f131-4dfe-9069-22a4d4c08324' },
          { group: 'out', id: '003848ad-c39a-4732-94a0-8ce2cffd6b94' },
        ],
      },
      id: '147c048b-ac3a-40b0-993d-b68b257bcb08',
      data: {
        name: '算法组件',
        description: '算法组件',
        units: [],
        type: null,
        strategy: null,
        params: {
          targetType: null,
          targetUnit: null,
          distance: null,
          angle: null,
          duration: null,
          range: null,
          locations: null,
          paths: null,
          area: null,
        },
      },
      zIndex: 2,
    },
    {
      position: { x: 350, y: 410 },
      size: { width: 116, height: 40 },
      shape: 'pipeline',
      ports: {
        groups: {
          in: {
            position: 'left',
            attrs: {
              circle: {
                r: 4,
                magnet: 'passive',
                fill: '#2cfeff',
                fillOpacity: '0.15',
                stroke: '#2cfeff',
                strokeOpacity: '0.6',
                strokeWidth: 1,
                style: { visibility: 'visible' },
              },
            },
          },
          out: {
            position: 'right',
            attrs: {
              circle: {
                r: 4,
                magnet: true,
                fill: '#2cfeff',
                fillOpacity: '0.15',
                stroke: '#2cfeff',
                strokeOpacity: '0.6',
                strokeWidth: 1,
                style: { visibility: 'visible' },
              },
            },
          },
        },
        items: [
          { group: 'in', id: 'a95af442-50e7-4c6d-adea-fc43f12ce5fd' },
          { group: 'out', id: '7cfe1ecb-f546-4aa3-bbb0-efedbfff0510' },
        ],
      },
      id: '6dfab742-35c4-4437-830b-a6ff67ce71d9',
      data: {
        name: '算法组件',
        description: '算法组件',
        units: [],
        type: null,
        strategy: null,
        params: {
          targetType: null,
          targetUnit: null,
          distance: null,
          angle: null,
          duration: null,
          range: null,
          locations: null,
          paths: null,
          area: null,
        },
      },
      zIndex: 3,
    },
    {
      position: { x: 555, y: 370 },
      size: { width: 116, height: 40 },
      shape: 'fork',
      ports: {
        groups: {
          in: {
            position: 'left',
            attrs: {
              circle: {
                r: 4,
                magnet: 'passive',
                fill: '#2cfeff',
                fillOpacity: '0.15',
                stroke: '#2cfeff',
                strokeOpacity: '0.6',
                strokeWidth: 1,
                style: { visibility: 'visible' },
              },
            },
          },
          out: {
            position: 'right',
            attrs: {
              circle: {
                r: 4,
                magnet: true,
                fill: '#2cfeff',
                fillOpacity: '0.15',
                stroke: '#2cfeff',
                strokeOpacity: '0.6',
                strokeWidth: 1,
                style: { visibility: 'visible' },
              },
            },
          },
        },
        items: [
          { group: 'in', id: 'eed56e51-63ee-4a47-82e0-e6638e970a2b' },
          { group: 'out', id: '185d33a2-90a7-401a-9c0b-df9049c5618d' },
          { group: 'out', id: '0f9291d8-9bbf-4d0d-896a-098e26554585' },
        ],
      },
      id: '02244ad4-c052-47be-8273-f0394474a6d0',
      data: {
        name: '判断节点',
        description: '判断节点',
        triggerType: null,
        targetUnit: null,
        statusUnit: null,
        targetArea: null,
        situationTime: null,
        countdown: null,
        selectTime: null,
      },
      zIndex: 4,
    },
    {
      position: { x: 800, y: 300 },
      size: { width: 116, height: 40 },
      shape: 'pipeline',
      ports: {
        groups: {
          in: {
            position: 'left',
            attrs: {
              circle: {
                r: 4,
                magnet: 'passive',
                fill: '#2cfeff',
                fillOpacity: '0.15',
                stroke: '#2cfeff',
                strokeOpacity: '0.6',
                strokeWidth: 1,
                style: { visibility: 'visible' },
              },
            },
          },
          out: {
            position: 'right',
            attrs: {
              circle: {
                r: 4,
                magnet: true,
                fill: '#2cfeff',
                fillOpacity: '0.15',
                stroke: '#2cfeff',
                strokeOpacity: '0.6',
                strokeWidth: 1,
                style: { visibility: 'visible' },
              },
            },
          },
        },
        items: [
          { group: 'in', id: 'aec78cd4-e398-4dbb-8b25-7b4bd2d3dae3' },
          { group: 'out', id: 'ed3fdede-8028-451b-b1da-33f5046ee9fc' },
        ],
      },
      id: '99207ce4-e42f-4200-84fe-d42000499af1',
      data: {
        name: '算法组件',
        description: '算法组件',
        units: [],
        type: null,
        strategy: null,
        params: {
          targetType: null,
          targetUnit: null,
          distance: null,
          angle: null,
          duration: null,
          range: null,
          locations: null,
          paths: null,
          area: null,
        },
      },
      zIndex: 5,
    },
    {
      position: { x: 890, y: 430 },
      size: { width: 116, height: 40 },
      attrs: {
        body: { fillOpacity: '1', strokeOpacity: '1' },
        path: { fill: '#151B21' },
        path2: { fill: '#151B21' },
        label: { text: '算法组件A', fill: '#151B21' },
      },
      shape: 'pipeline',
      ports: {
        groups: {
          in: {
            position: 'left',
            attrs: {
              circle: {
                r: 4,
                magnet: 'passive',
                fill: '#2cfeff',
                fillOpacity: '0.15',
                stroke: '#2cfeff',
                strokeOpacity: '0.6',
                strokeWidth: 1,
                style: { visibility: 'visible' },
              },
            },
          },
          out: {
            position: 'right',
            attrs: {
              circle: {
                r: 4,
                magnet: true,
                fill: '#2cfeff',
                fillOpacity: '0.15',
                stroke: '#2cfeff',
                strokeOpacity: '0.6',
                strokeWidth: 1,
                style: { visibility: 'visible' },
              },
            },
          },
        },
        items: [
          { group: 'in', id: 'cbe865dd-6a22-4bbc-aa6e-ba9340f45759' },
          { group: 'out', id: 'f5967fb6-39d5-45b2-99b5-7c5fab4a43f8' },
        ],
      },
      id: '015ae024-2953-4def-92bd-fed212a0322f',
      data: {
        name: '算法组件A',
        description: '算法组件',
        units: [],
        type: null,
        strategy: null,
        params: {
          targetType: null,
          targetUnit: null,
          distance: null,
          angle: null,
          duration: null,
          range: null,
          locations: null,
          paths: null,
          area: null,
        },
      },
      zIndex: 6,
    },
  ],
};
